﻿//
// Created by Administrator on 2020/9/8.
//

#ifndef EXAMPLE_CPP_STUDENT_H
#define EXAMPLE_CPP_STUDENT_H

#include "Person.h"

class Student : public Person {

private:
    char *school;
public:
    Student(const char *name, const int age, const char *school);

    ~Student();

    void toString();

    friend std::ostream &operator<<(std::ostream &os, const Student &student);
};


#endif //EXAMPLE_CPP_STUDENT_H
